package com.giscloud.amp.entity.login;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @Author:gxd
 * @Description:
 * @Date: 9:54 2018/3/23
 * @Modified By:
 */
@Data
@ToString
public class LoginDTO {
    /**
     * 登录账号(必填)
     */
    @NotNull(message = "账号不能为空")
    private String loginName;
    /**
     * 密码(必填)
     */
    @NotNull(message = "密码不能为空")
    private String password;

    /**
     * 验证码(必填)
     */
    @NotNull(message = "验证码不能为空")
    private String code;

    /**
     * 系统id(必填)
     */
    @NotNull(message = "系统id不能为空")
    private Long systemId;


}
